Loop through array of objects if value exists return another value

visit shbcf.ru